package org.mymybatis.transaction;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * 事务管理器接口
 */
public interface Transaction {

    Connection getConnection() throws SQLException;

    void commit() throws SQLException;

    void rollback() throws SQLException;

    void close();

    public void openConnection();

}
